x=0:0.01:2*pi;
y1=sin(x);
y2=0.01*cos(x);
plot(x,y1,x,y2,'--')
plotyy(x,y1,x,y2)